package com.qumap.editview.impl;

import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.RequiresResize;
import com.google.gwt.user.client.ui.Widget;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 05.05.11
 * Time: 19:15
 * To change this template use File | Settings | File Templates.
 */
public class DisplayTestMap extends DisplayTestImpl implements RequiresResize {

	private final HTML html = new HTML("DisplayTestMap");
	private int index = 0;

	@Override
	public Widget asWidget() {
		return html;
	}

	@Override
	public void onResize() {
		index++;
		html.setText("Index["+index+"]");
	}
}
